//
//  Extension_UIColor.swift
//  duluxshop
//
//  Created by Mac on 2020/1/29.
//  Copyright © 2020 szqingwa. All rights reserved.
//

import UIKit

// MARK: 设置颜色
public extension UIColor {
    
    /**
    USE  ：设置RGB颜色
    */
    static func adjustColorRGB_CN(_ r: CGFloat, _ g: CGFloat, _ b: CGFloat, _ a: CGFloat) -> UIColor {
        return UIColor(red: r / 255.0, green: g / 255.0, blue: b / 255.0, alpha: a)
    }

}
